'use strict';

const Controller = require('./base');

class HomeController extends Controller {
  async pinList() {
    const { ctx } = this;
    var res = await ctx.model.Pin.find();
    console.log('---1212121')
    console.log(res)
    ctx.helper.success(ctx, res);
  }
}

module.exports = HomeController;
